#include <iostream>
#include <cstdlib>
#include <sys/types.h>
#include <sys/socket.h>
using namespace std;
const int bufferSize = 10;
int main()
{
    /*void * 强转*/
    char *ptr = (char *)malloc(sizeof(char) * bufferSize);

    free(ptr);

    /*类型强转*/
    // struct sockaddr_in serverAddr;
    // bind(sockfd, (struct sockaddr *)serverAddr, XXX);

    /*常量强行修改*/
    // const int num = 19;
    // int *p = &num;
    // *p = 20;

    

}